package com.ggk911.pharmacy_system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ggk911.pharmacy_system.entity.DrugSale;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author ggk-911
 * @version 1.0 2023/4/13 9:55
 */
@Repository
public interface DrugSaleMapper extends BaseMapper<DrugSale> {
    /**
     * selectPageAD
     *
     * @param page
     * @param queryWrapper
     * @param <P>
     * @return
     */
    <P extends IPage<DrugSale>> P selectPageAd(P page, @Param("ew") Wrapper<DrugSale> queryWrapper);
}
